import numpy as np
import math as m
import matplotlib.pyplot as plt
import plotly.express as px
import pandas as pd
x = np.linspace(-2*np.pi,2*np.pi,1000);
y = np.sin(x)
plt.plot(x,y)
[<matplotlib.lines.Line2D at 0x2e98bccd510>]
import plotly.express as px
df = px.data.gapminder()
fig = px.line(df, x="year", y="lifeExp", color="continent", line_group="country", hover_name="country",
line_shape="spline", render_mode="svg")
fig.show()